package com.atkinsglobal.basic.cfg;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {

	
//	Same as :
//	<beans>
//	  <bean id="bean1" class="com.atkinsglobal.basic.cfg.BigBean"/>
//	</beans>
	@Bean
	public BigBean bean1() {
		
		BigBean f = new BigBean();
		f.setName("Big1");
		f.setNumber(456);
		return f;
	}
}
